alter table statement for rc_ip
authorTim Starling <tstarling@users.mediawiki.org>
Thu, 17 Jun 2004 09:06:22 +0000 (09:06 +0000)
committerTim Starling <tstarling@users.mediawiki.org>
Thu, 17 Jun 2004 09:06:22 +0000 (09:06 +0000)
maintenance/archives/patch-rc_ip.sql [new file with mode: 0644]

diff --git a/maintenance/archives/patch-rc_ip.sql b/maintenance/archives/patch-rc_ip.sql
new file mode 100644 (file)
index 0000000..6106d93
--- /dev/null
@@ -0,0 +1,7 @@
+-- Adding the rc_ip field for logging of IP addresses in recentchanges
+
+ALTER TABLE recentchanges 
+  ADD rc_ip char(15) NOT NULL default '',
+  ADD INDEX rc_ip (rc_ip);
+
+